If you qualify for federal aid, it would not change, Other aid, such as school and possibly state aid would not transfer.
There are maximum limits on federal aid, so, going to a more expensive school could wind up costing you more money out of pocket.