You should try and look at the code that causes the error (the number in the parentheses is the line number(s) in the source code). You are trying to assign 4 values to an array that only has 2 values. Looks like you change the declared size of the array.