• The better answer for this is to use rename. Rename will accept a new path and effectively do the same thing as your copy then delete, but in a single step.