Change engine

Hello guys, I have a special question. I have a MAN F2000 Bj 96. In my old sweetheart works a five-cylinder D2865LF21 with 340 hp. Since we regularly ride over the Kassler mountains and to all the Üerfluss now also the B3 is no longer rotatable for us, I thought to exchange the engine through a D2866LF ( six-cylinder ) with 465 hp. Regardless of that it is economically totally stupid, and that I needed a new EDC device + wire harness, is me in question if this thing fits in there. If yes, someone has a D2866LF in the basement for a small cash register, can also be broken or worn out, would overtake the engine one way or another (just for fun). Until then men!! ( and women of course )