how is copper extracted from its ore in the ground