It is not clear what you are trying to do and your explanation as to the problem doesn’t help.
If you try
int[] sx = {330, 390, 335, 345};
for (int i : sx) {
println(i);
}
you get the following output
330
390
335
345
which is exactly what you would expect.
So in your code you have 4 copy statements which are executed for each integer in the array. If we expand your code to remove the loop and shaow what is actually being executed we get
int i;
i = 330;
copy(video, i, 170, 40, 40, 0, 0, video.width/4, video.height/4);
copy(video, i, 170, 40, 40, 150, 150, video.width/4, video.height/4);
copy(video, i, 205, 40, 40, 300, 300, video.width/4, video.height/4);
copy(video, i, 230, 60, 40, 400, 150, video.width/4, video.height/4);
print(i);
i = 390;
copy(video, i, 170, 40, 40, 0, 0, video.width/4, video.height/4);
copy(video, i, 170, 40, 40, 150, 150, video.width/4, video.height/4);
copy(video, i, 205, 40, 40, 300, 300, video.width/4, video.height/4);
copy(video, i, 230, 60, 40, 400, 150, video.width/4, video.height/4);
print(i);
i = 335;
copy(video, i, 170, 40, 40, 0, 0, video.width/4, video.height/4);
copy(video, i, 170, 40, 40, 150, 150, video.width/4, video.height/4);
copy(video, i, 205, 40, 40, 300, 300, video.width/4, video.height/4);
copy(video, i, 230, 60, 40, 400, 150, video.width/4, video.height/4);
print(i);
i = 345;
copy(video, i, 170, 40, 40, 0, 0, video.width/4, video.height/4);
copy(video, i, 170, 40, 40, 150, 150, video.width/4, video.height/4);
copy(video, i, 205, 40, 40, 300, 300, video.width/4, video.height/4);
copy(video, i, 230, 60, 40, 400, 150, video.width/4, video.height/4);
print(i);
the copy function is executed 16 times.