What is this difference between a 320i and a 330i. Both have a b48 so would a swap be easy ?

I have a Bmw 320i which i got at a great price and is specced just the way i like it. After i got it i also learned about the 330i and know it makes 70 more horsepower but still has the same engine? Recently a 20k km 330i engine came up for sale for about 3k and i was wondering if theoretically i could get my shop to pull mine out and put that one in. All the build videos ive seen use the 330i and i would love one too.