The middle school moved into the old high school and the elementary moved into the middle school.
When referring to educational institutions, the middle school moved into the old high school building, and the elementary school took over the middle school premises.