Observe the following figure.
Identify the electrolyte Z in the given figure.
Copper sulphate
The metal atoms that plate the cathode come from the electrolyte. So to copper plate it, an electrolyte made from a solution of a copper salt is needed. Likewise, for gold plating, a gold-based electrolyte is needed.