changed copyItemAtUrl in moveFiles to moveItemAtUrl