copyToBoth

fun ByteReadChannel.copyToBoth(
    first: ByteWriteChannel,
    second: ByteWriteChannel
): Unit

Copy source channel to both output channels chunk by chunk.