deepCopy
fun RawFrame.deepCopy(bufferPool: IBufferPool<ByteBuffer>, timestampInUs: Long = this.timestampInUs, onClosed: (RawFrame) -> Unit = {}): RawFrame(source)
Deep copy the RawFrame.rawBuffer into a new RawFrame.
For better memory allocation, you should close the returned frame after usage.