Extra stability of fully filled orbitals
In 3d104s1, d-orbitals are fully filled and thus attains more stable electronic configuration due to symmetric distribution of electrons in the orbitals and exchange energy as compared to 3d94s2. Therefore, the electronic configuration of valence shell of Cu is 3d104s1 and not 3d94s2.