process of copper mining plants