All reactions / Magnesium + Copper sulfate
Magnesium kicks copper out fast. Copper appears and the blue fades.
Single replacement
In words: 1 particle of copper sulfate and 1 of magnesium make 1 of magnesium sulfate, 1 of copper metal. Every atom that goes in comes out again in the products, which is what a balanced equation means.
The recipe needs exactly 1 of CuSO4 for every 1 of Mg. Add extra of either one and the spare particles have no partner, so they stay unchanged in the beaker. Chemists call the ingredient that runs out first the limiting reactant.
Try it in the lab