title: What is the difference between util.pump(streamA, streamB) and streamA.pipe(streamB)?
body: <p>The source code looks very similar: <a href="https://github.com/joyent/node/blob/master/lib/util.js#L447-482" rel="noreferrer"><code>pump</code></a>, <a href="https://github.com/joyent/node/blob/master/lib/stream.js#L33-122" rel="noreferrer"><code>pipe</code></a>. Why would I use one instead of the other? Is one simply a better version of the other?</p>