i use this command to copy file to anther folder,but it cant's work,
sysFile -copy "d:/xpsn.txt" "d:/edk/xp.txt";// Result: 0 //
but it can Create directory.
You code is good, I can only guess that you already have a read-only file that exists here:d:/xpsn.txt ?that is blocking the copy.
I can re-create your test with success, so that would be my guess.