I am trying to think about the electron configuration of copper by adding electrons one by one, starting from a bare copper nucleus. My understanding is that the violation of the Aufbau principle occurs right as we add the last electron, as shown below:
Suppose we have already added $29-2=27$ electrons to the nucleus.
Before adding the last two electrons, we have $\text{Cu}^{2+}=[\text{Ar}]3\text{d}^7 4\text{s}^2$
Before adding the last electron, we have $\text{Cu}^{1+}=[\text{Ar}]3\text{d}^8 4\text{s}^2$
After adding the last electron, we have $\text{Cu} = [\text{Ar}]3\text{d}^{10} 4\text{s}^1$
Why then, is the electron configuration of ionized copper, $\text{Cu}^{1+}$, in reality equal to $[\text{Ar}]3\text{d}^{10}$? Is it not energetically favorable for two of the $3\text{d}$ electrons to go to $4\text{s}$ after ionization?