The electrolysis still points to an electrical issue.
Electrons can flow towards the light or away from the light depending on the circumstances.
If electrons are going away from the light, the light will corrode (Light is the anode).
If electrons are moving towards the light, you can get plating of other metals like copper, silver etc. (Light is the Cathode).
The copper gets reduced from Cu
2+ ions to Copper metal.
You can also get other metals and probably ionic compounds like copper oxide, which is black.
Electrons go from the negative terminal of a battery to the positive terminal.
Note: Technically "current" flows from the positive terminal to the negative terminal because "Current" is defined as the flow of positive charge.
Cu
2++ 2e
- → Cu (cathode).
Cathode reaction (reduction):
At the cathode (the surface to be plated), the copper ions from the solution gain electrons and deposit as solid metallic copper on the surface.
A positive standard reduction potential indicates that a substance has a greater tendency to be reduced, meaning it readily gains electrons and acts as a stronger oxidizing agent; the more positive the value, the higher the likelihood of reduction occurring.
A negative standard reduction potential indicates that a substance has a greater tendency to be oxidized rather than reduced, meaning it is more likely to lose electrons and act as a reducing agent compared to a substance with a positive potential; essentially, the more negative the value, the stronger the reducing agent it is.
Copper oxide refers to a chemical compound composed of copper and oxygen, most commonly either copper(II) oxide (CuO), also known as cupric oxide, or copper(I) oxide (Cu2O), also called cuprous oxide; both are inorganic compounds with different oxidation states of copper.
Chemical formulas: CuO (copper(II) oxide), Cu2O (copper(I) oxide).
Appearance: Copper(II) oxide is typically black powder, while copper(I) oxide can appear red or yellow depending on particle size.
Copper(I) oxide or cuprous oxide is the inorganic compound with the formula Cu2O.