It's enough to #ifdef around the copy-call here as far as I can see, as the rest of the loop is the same in both.