Magnetic switching in cobalt films by adsorption of copper