No the function compares the array contents. Probably similar to the way DaOne has implemented it, although I would guess it would be quicker on large arrays rather than testing each element in this way.
I know when I tested the java.util.Arrays copying, there was minimal improvement over doing it in a loop, I think the compiler must be clever enough to use the native libraries in these cases.