code: function dupBuffer(buf){
      var cloned = new Buffer(buf.length);
      buf.copy(cloned);
      return cloned;
  }
docs: Duplicates a buffer.
  @param {Buffer} buf To be duplicated.
  @return {Buffer} A new buffer with the exact same size and contents.
  Modifying this will NOT modify the original instance.