When the copper wire touches the top of the battery and the magnet at the same time, it spins around. This creates a circuit, allowing electrons to flow. The magnet at the bottom of the battery creates a magnetic field, when the electrons and a magnetic field come in contact a force is created. This is what moves the wire and will continue to move as long as the copper wire touches the magnate and the top of the battery.