Hi @RavindraPawar-8899,
You can migrate your file server by using the Storage Migration Service, you can follow along here:
Use Storage Migration Service to migrate a server
https://learn.microsoft.com/en-us/windows-server/storage/storage-migration-service/migrate-data
Migrating roles and features in Windows Server
https://learn.microsoft.com/en-us/windows-server/get-started/migrate-roles-and-features
Note: Windows Server 2019 "R2" does not exist, it's simply "Windows Server 2019".
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Best regards,
Leon