Added copyFile method for low level brackets.fs compatibility.