flow chart for extracting copper from ore