by product of copper mining