Bend some of the wire into a flat coil and a frame for the swing and a loop to hold the battery and making contact to the battery at one end.
In the middle of the swing frame remove the insulation.
Use another short length of copper wire to make the swing. One end will hold the magnet using BluTac. If you bend a short 'L' shape at the end it helps hold the BluTac. The middle is wrapped round the swing frame several times, not too tight as it needs to swing freely. The other end needs to be adjusted so it just makes contact with the battery.
Copper wire 1.5mm conductor
1.5 volt battery AA
Neodymium magnet (other magnets may work too)
Pliers to help bend the wire