```
Mg (s) + CuSO4 (aq) → MgSO4 (aq) + Cu (s)
```
In this reaction, magnesium atoms replace copper atoms in the copper sulfate compound. Magnesium is more reactive than copper, so it is able to displace copper from the copper sulfate compound. The products of this reaction are magnesium sulfate, which is soluble in water, and copper metal, which is a solid.