What is the difference between `FileOutputStream` and `BufferedOutputStream`?
`FileOutputStream` is a faster way to write data to files, while `BufferedOutputStream` is slower but more efficient when dealing with large amounts of data.
That's not correct. Actually, `BufferedOutputStream` is faster when writing large data because it reduces the number of writes.
Can you explain what the internal buffer does in `BufferedOutputStream` and why it improves performance?