Optimized by using Arrays.copyOf and System.arraycopy
Merge pull request #9 from cityzendata/master

Optimized by using Arrays.copyOf and System.arraycopy