Fix System.arraycopy when doing same array copying.

At compile time, if constant source < constant destination, and we don't
know if the arrays are the same, then we must emit code that checks
if the two arrays are the same. If so, we jump to the slow path.

test:610-arraycopy

Change-Id: Ida67993d472b0ba4056d9c21c68f6e5239421f7d
6 files changed