Will a 95 Honda Civic engine 1.8 fit in a 2000 Honda Civic?

Doing an engine swap for my car, the engine went bad so I'm taking it out and about to buy a 1.8 engine from a 95 civic, do you guys know if I can have it fit right in my 2000 civic ex or will I have to change some things? I also live in California

Yea

If it's not the stock engine it probably won't link up to the transmission correctly it's best to stick to the stock engine

Don't do it.