Answer:
Suck up the iron using the electromagnet.
Explanation:
Iron is magnetic and copper is not. So copper will be
unaffected by the magnet. After extracting the iron,
open the switch. The electromagnet will lose its
magnetism and the iron fillings will fall off..