copyTo

abstract fun copyTo(target: ByteBuffer)
abstract fun copyTo(target: Array<Byte>)
abstract fun copyTo(target: Array<Byte>, targetOffset: Int)