Surface alloying of a Co film on the Cu(001) surface