what are the byproducts of producing copper and lead through mining