from ArrayList to array => resize methods