What is involved in swapping a 2.0 for a 2.5 in a 2000 Forester? on 2000 Subaru Forester

The engine in my 2000 forester is knocking. I want to swap it for a 2.5. What is involved in doing this? Thanks in advance.

Asked by for the 2000 Subaru Forester
see other post.