copy method

Copies another BufferAttribute to this BufferAttribute.

Implementation

BufferAttribute copy(BufferAttribute source) {
  name = source.name;
  itemSize = source.itemSize;
  count = source.count;
  normalized = source.normalized;
  type = source.type;
  usage = source.usage;
  array.copy(source.array);
  return this;
}