2005 / 2007 Mazda3 GT engine swap question

I have a 2005 Mazda 3 GT with a 2.3 L engine with automatic transmission and I was wondering if I could put that engine in a 2007 Mazda 3 GT with 2.3 L engine with automatic transmission?

The reason I ask is that I have read something about the intake cam being different!
Any help would be much appreciated
 
Back