Please read if you are a bit confused and have any question::::
1/ Magnet wire is nothing but coated copper wire.You can find it inside a motor or a transformar.
2/ If you don't have 2N2222 transistor.
You can use any low power NPN transistor.
Such as : 2N3904, Bc547, BC548 , anything ....
3/ That circuit is limited. No more distance .
4/ You can't use high voltage more than 1.5 or the life of transistor shortens.(massive heat!! )
5/ Other Resistor values for you is 470ohm, 2.2k ohm, 10 k ohm.
And always double check the pins and connections. If it works, don't forget to Share!!!! and leave a comment whether it works or any troubleshooting.