Use builtin Arrays method instead of coding a util.