move a database on sql server 2017 with memory OLTP feature
Once a memory-optimized filegroup is added to a database, it's not possible to remove it. You would need to migrate your "traditional" data to a new database, then drop the original database, and rename the new to the old. 

Why do you want to remove the memory-optimized filegroup?