Resettlement, Then and Now
After purchasing for Pharaoh all the lands of the Egyptian citizens in exchange for food in that famine-stricken land, the potentate Yosef resettled the sellers, moving the residents of one city to another "from one end of Egypt to another".
Rashi provides both the obvious purpose of this move and Yosef's hidden agenda. From a political angle this was intended as a reminder to the Egyptians people that they no longer owned their lands. But the reason why the Torah records this is to show how considerate Yosef was of his father and brothers who had joined him in Egypt as immigrants. Now that all Egyptians were no longer residing in their own cities they could not look down upon these new arrivals.