Adding missing CopyFile for Linux.