the process of production of copper from its mineral ores