It is a common grade school experiment ... copper and aluminum, and [Cylo] shows us how it works in a recent video you can see below. The device sure looks like an electromagnet made with magnet ...
The moving magnetic field from the spinning magnets induces a current in the coil of wire. You have made your own electricity generator!