File SystemWrite fileCopy a file to another locationUse Bun.write() to copy a file to another location on disk. The first argument is a destination , like an absolute path or BunFile instance. The second argumentCopy MarkdownOpenWrite a file to stdoutBun exposes stdout as a BunFile with the Bun.stdout property. Pass it as the destination to Bun.write() .Write a file incrementallyBun provides an API for incrementally writing to a file. Use it for large files, or when writing to a file over a long period of time.