How can I rewrite all values in array? For example I have array:
int[] polyX = { -22, 21, 166, 174, 106, 33, 20, 14, -30, -19, -24 };
And now I want to set these values:
polyX = { -43, 5, 23, 65, -64, 33, 4, 14, -30};
Is it possible to set new values to arrays like to any other variable?