The order in which the metals displace each other from the solution of their salts is $$Mg, Al, Zn, Fe, Cu$$. Thus, more electropositive $$Mg$$ can displace less electropositive $$Cu$$.