Moving all Heap Tables to another Filegroup in SQL Server
As far as I know, you have two options:


Physically move the data. 
Create a new empty heap in the secondary filegroup / Copy the data / rename the object, everything inside of implicit transaction. And don't forget to script out indexes, constraints etc.
Create a clustered index in the secondary filegroup, and then drop it.


I'd prefer the first option.