Variation of the surface morphology of a copper electrodeposit during its growth. I. Formation of dendritic structure