I tried to run this applescript:
tell application "Finder"
duplicate POSIX file contents "/Users/xx/Desktop/xxxx/" to POSIX file "/USB/" with replacing
delete POSIX file contents "/Users/felix/Desktop/xxxx/"
empty trash
end tell
but every time an error message appears saying:
Invalid key form.