Here's a gist to handle this with a custom hamcrest matcher.
Usage : assertThat( a , arrayExact(b) );
The Matcher class :
https://gist.github.com/jamieowen/5480802
And the shorthand "arrayExact()" function access:
https://gist.github.com/jamieowen/5480819
It should also match 2d arrays as well.