Yes it's fully possible to migrate your fileservers using Robocopy, most switches should work on Windows Server 2008 SP2 so you should be able to migrate directly to a Windows Server 2019 server, there's no need to migrate first to a Windows Server 2012 R2/2016 server.
----------
If the reply was helpful please don't forget to upvote
and/or accept as answer
, thank you!
Best regards,
Leon