principal stages of mining and processing copper