Merge "Fix System.arraycopy when doing same array copying."