method of extracting copper and lead in a wastewater