In theory nothing should happen, as long as the domain name stays the same.
If you plan on moving the content to a new domain you need to gather all the urls that you have in the various search engines and make sure to have proper 301 redirects in place.
And don’t forget to notify Google of the move with the help of Google Search Console. Same for Bing, only with Bing Webmaster Tools...