If the classes actually are the “exact same”, then the workload and time commitment will be the same. In this case, unless changing schools significantly reduces commute time, it is unlikely to give you more time for your ECs. Note that in this case, the new school would not be “worse” in terms of actual academics, even though it may not have as strong other students.
On the other hand, if the “exact same” classes cover less material or at a lesser depth at the new school, then you will be getting a lesser education, although it may reduce the time spent and allow for more EC time.