Cr: [Ar]3d4 4s2 and Cu: [Ar] 3d9 4s2
However, the actual configurations are:Cr: [Ar]3d5 4s1 and Cu: [Ar] 3d10 4s1
This is attributed to the fact that half-filled and completely filled electronic configurations (which include d5, d10, f7, f14) have lower energy. Thus, to acquire increased stability, one of the 4s-electrons goes into the nearby 3d-orbitals so that 3d-orbitals get half-filled in Cr and completely filled in Cu configurations. The extra stability of half-filled and completely-filled electronic configurations is due to their (i) symmetrical arrangement and (ii) large exchange energy.