copy the migrate-tool