The Cu2p X-ray photoelectron core-lines in copper oxide based high temperature superconductors