add replaceRange() function to ArrayList
add replaceRange() function to ArrayList

generalizes functionality of ArrayList.insertSlice() to overwrite
a range of elements in the list and to grow or shrink the list as needed
to accommodate size difference of the replacing slice and the range
of existing elements.

zig-lang/zig,andrewrk/zig,andrewrk/zig,zig-lang/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig