updated the copy feature

Said restore instead of copy. Moved the DeployStudio copy to a
varriable.