Simulation of the formation of vacancies upon scanning of Cu(100) surface