code: func DeepCopyOf(other *BytesRef) *BytesRef {
  	copy := NewEmptyBytesRef()
  	copy.copyBytes(other)
  	return copy
  }
docs: /*
  Creates a new BytesRef that points to a copy of the bytes from
  other.
  
  The returned BytesRef will have a length of other.length and an
  offset of zero.
  */