electrolysis use in copper maining