oldArray[] = new Array[] question

So Everything looks OK untill I do OLDvalues1[n] = values1[n].

And, what does it look like afterwards? You really need to post ALL of your code, to provide context for that snippet.