Instead of moving all the plex data, you can setup the server on the new machine.
Create a small test library to see if it works in general.
Then shut down both the original server and the new one (important!)
Then copy the main database file (yes, just one file) from the old to the new machine.
This will transfer the ‘played’ statistics for all your users.
All the metadata need to be fetched again, all the preview thumbnails need to be regenerated.
If you on the other hand prefer to first ‘clone’ your old server completely:
You need to delete the server identifier from the copied server configuration or else you will see major weirdness.
Here’s how: Different PCs Using Same Machine ID