implement duplicating iterators
basic bytes without optimisations
use same order as PArray in bytearray
make ByteArray to base on PArray
writing byte arrays
optimized writing of concatenated lists
use list writing for as ~byte[] casts
this now done using PArray's implementation