process to extract copper from ore