You can use option 3
https://www.ajtek.ca/wsus/how-to-migrate-or-upgrade-wsus/
You can also take a backup of the database in WID on 2012 and restore it to the new server too, however it's much more difficult than option #3
https://www.ajtek.ca/wsus/backing-up-windows-server-update-services/
https://www.ajtek.ca/wsus/restoring-windows-update-server-update-services-backups/