When electric current is passed through copper sulphate solution, the copper sulphate breaks up into copper and sulphate ions. The free copper gets drawn to the plate connected to the negative terminal of the battery and gets deposited on that plate. From the other plate, an equal amount of copper gets dissolved in the solution this is how The loss of copper from solution is compensated and the process goes on.