removed copyTo in favour of insertBytes