Gold plating is often used in electronics, to provide a corrosion-resistant electrically conductive layer on copper, typically in electrical connectors and printed circuit boards.
With direct gold-on-copper plating, the copper atoms tend to diffuse through the gold layer, causing tarnishing of its surface and formation of an oxide and/or sulphide layer.