2009 rzr 800s putting 2013 800 cyl?

Hey everyone ! Just got a question here , my rzr musta ate some dirt cause we’re doing a top end rebuild and we got some pretty heavy scoring . Just wondering if a 2013 rzr 800 cylinder would work ? As we have one here from my buddy doing a big bore ! If not a new one it is . Any help in the right direction is greatly appreciated ! Thanks !