lib/utils.js
function copyBuffer(buf) {
  var targetBuffer = new Buffer(buf.length);
  buf.copy(targetBuffer);
  return targetBuffer;
}
function copyBuffer(buf) {
  var targetBuffer = new Buffer(buf.length);
  buf.copy(targetBuffer);
  return targetBuffer;
}
function copyBuffer ( buf ) { var targetBuffer = new Buffer ( buf . length ) ; buf . copy ( targetBuffer ) ; return targetBuffer ; }
Creates a copy of a buffer
Creates a copy of a buffer