The evolution of early and late type galaxies in the COSMOS up to z~1.2 — arXiv2