fixed copyfiles, some files from the ramdisk weren't being copied fixed some duplicate commands