refining of copper and melting