flow diagram for copper slag production