what are the byproducts of copper through mining