you don't need to copy arrays. you can just have 2 arrays and alternate their usage.