I would say pull the old engine out, then put the new engine in the same way.
:)
But seriously, search and you will find your answer. Honestly not worth the swap IMO. Same power level, much more difficult to tinker with, plus parts are a zillion times more expensive.