You can easily copy data from memory to a file with StrToFile(). You can copy information back with FileToStr().