During the electrolysis of an aqueous solution of copper sulphate using copper electrodes, both $\mathrm{Cu}^{2+}$ and $\mathrm{H}^{+}$ions move towards cathode, but the discharge potential of $\mathrm{Cu}^{2+}$ ions is lower than that of $\mathrm{H}^{+}$ions, therefore $\mathrm{Cu}^{2+}$ ions are discharged in
preference to $\mathrm{H}^{+}$ions and copper is deposited on the cathode.
$
\mathrm{Cu}^{2+}(\mathrm{aq})+2 \mathrm{e}^{-} \longrightarrow \mathrm{Cu}(\mathrm{s}) \text { (at cathode) }
$