bytestream: add bytestream2_copy_buffer() functions