I truly am tired. I found out what was causing my problems later on in my program. (The rest of my program uses compiles XS code and I was passing incorrect parameters to it).
However, for purely academic reasons, my question still remains: how are the two arrays different?