Copper has been an outperformer among commodities powered by the energy transition and rising adoption of electric vehicles.