You can use the Migration plugin to move a website (and its data) to a new Matomo (Piwik) instance.