Your question is not clear.
If you change A column with B column you dont need loop code.
You just need copy B column and paste to A column...
Regards...