>Just checking for non-equality (!=) says the byte arrays are different, if I loop though all the elements I find that the byte arrays are the same. I am trying to come up with a good reason why it was implemented like this. Any help is appreciated.
>
That's just how byte arrays (and string arrays, etc.) are implemented. I would guess it was implemented this way because you start to get into a grey area as to it's behavior otherwise, ex. Is an array the same if all the elements exist but aren't in the same order? I'm sure they thought, "I don't know" and "it depends" and decided to leave it up to the developer to figure it out.