The ability of copper to conduct electricity is due to its atomic structure. Copper atoms have one valence electron, which means that this electron is loosely held to the atom. When a voltage is applied to copper, the valence electrons are able to move freely, creating an electric current.
The conductivity of copper is also affected by its temperature. As the temperature of copper increases, its resistivity increases. This means that copper conducts electricity less effectively at higher temperatures.
Despite this, copper is still an excellent conductor of electricity, even at high temperatures. This is why copper is used in applications where high electrical conductivity is required, such as in electrical power lines and generators.