Additional quotes to make the script work with spaces
Added a check to see if both the destination path and original file are on the same device