Working on auxiliary methods for resize in dynamic_array.