io-stream based interface to copy, cursors, and large objects