how copper ore is processed