Will a 1996 civic HATCH with a D16Y4 HEADERS fit a 1996 civic COUPE D16Y8?

Will the lengths be different upto cat converter or will it swap in?

Cheers