how copper ore is refined into a usable product