Chromium and Copper are exceptions to the electron configuration rules. Based on what you know about electron configuration, yes it should be 4s2 3d4...however it is more stable for chromium to have all five of the d orbitals filled with half spins rather than having only four d orbitals filled with half spins, so one of the s orbital electrons gets filled to the d orbital. Same reasonining will apply to copper as well