You're incrementing before using the values... so that basically makes the checks obsolete...
use copied++
instead.
You need the post-increment operator, because if you increment it before you use it, you get out of bounds. Increment and decrement operators