flowchart process of refining copper