copyInto

abstract fun copyInto(    array: EventIdentifierArray,     destinationOffset: Int = 0,     startOffset: Int = 0,     endOffset: Int = size): EventIdentifierArray

Copies from the gap buffer into the provided EventIdentifierArray.

Parameters

array

the EventIdentifierArray into which data should be copied.

destinationOffset

the destination index at which the copy starts.

startOffset

the offset at which copy starts, in the gap buffer.

This operation may move the gap.