There’s save project to new folder to create a copy of project with all it’s audio.
AFAIK There is no way to consolidate files to an existing project folder.
EDIT…Apologies, posting tired and getting it wrong
Should have said “Backup project” to new folder as others have advised!