Wanting to install another 49cc engine on my ruckus

Hi, I don’t know if this is the right place to ask this. I have a 2018 ruckus with a bad engine and wanted to throw a 2009 low mile engine onto my 2018 platform. Is this possible to do? And if so. Is it somewhat easy to get the old engine out and the new engine in? Any help would be appreciated.