how copper ore is made