100g is the mass of the solution not copper.
Borek have said that mass of the mixture after the reaction is exactly the same as it was before the reaction, so you only need to calculate the initial mass of the mixture, which is the mass of magnesium added and the mass of the solution. (Sorry for confusing you again with the mass of copper).