For the electrorefining of copper:
The chemical process of purification of metal by electrolytic reduction is known as electrorefining. The anode is impure metal whereas the cathode is of pure metal.
For the electrorefining of copper:
Reaction at anode: