The array append operation has a resize policy itself, please simply append to it.