First pass at an array comparison, probably works but it's untested