how is copper extracted from the ground