Recycling copper from waste copper wire using an applied voltage