# Load the IO module # Replace "" with the location where the io.lm Lang module was installed to without "<" and ">" ln.loadModule() $fileIn = [[io]]::fp.openFile(input.txt) $fileOut = [[io]]::fp.openFile(output.txt) $bytes = [[io]]::fp.readBytes($fileIn) [[io]]::fp.writeBytes($fileOut, $bytes) [[io]]::fp.closeFile($fileIn) [[io]]::fp.closeFile($fileOut)