FileWrite
Writes the contents of a buffer to the current position in a file