Hi!
Assuming you mean copyfile in fileutis (and not the other definitions in Jedi, IDE, .....) the
syntax gives you the answer:
function CopyFile(const SrcFilename, DestFilename: string; PreserveTime: boolean; ExceptionOnError: Boolean=False): boolean;
So just set ExceptionOnError to true and look at the text of the exception.
It will tell you.
So do a
if CopyFile (MySrc, MyDest, true, true) then ......
Winni