-copy buffer and STREAM_read(incomplete)