You're not copying the array itself. What you are doing is swapping the
addresses of the two arrays. Try displaying the pointers before and
after the swap, and you'll see what I mean.
It's like switching the addresses on two apartments, so that apartment
1A is now apartment 1B, and vice versa. You haven't moved the families,
furniture, or anything except the numbers on the doors. But now mail
going to apartment 1A ends up in a different family.
--
==================
Remove the "x" from my email address
Jerry Stuckle
jstu...@attglobal.net
==================