copy

abstract fun copy(): MutableBuffer<T>(source)

Returns a shallow copy of the buffer.