iCloud Drive deletes files for sure, OS X also deletes files when I randomly unplug my external harddrive mid-transfer.