Entry.copyTo "Error: no such file or directory"

Not sure if I’m missing something obvious here but calling
entry.copyTo(folderEntry)
is returning an error:
“Error: no such file or directory”

In this case “entry” is a file and I can successfully see it in the debugger.
“folderEntry” is as the name says and is also with the correct value when debugging.

Is this a known issue or did I miss something?

Thanks!!

Henrique \\ TMMW
Text Replacer for Premiere Pro | Clips Exporter | Thumbs Up | Selector for Premiere Pro