copy method

Copies another BufferAttribute to this BufferAttribute.

Implementation

@override
BufferAttribute copy(BufferAttribute source) {
  super.copy(source);
  if (source is InstancedBufferAttribute) {
    meshPerAttribute = source.meshPerAttribute;
  }
  return this;
}