Merge "Fix System.arraycopy when doing same array copying." into nyc-mr1-dev