Added the Array.resize() method to resize a method to a given number of indices. (zero based)