Both, depending on the situation, but mostly within Creo. The Save As > Backup used on the assembly will put the entire assembly and all the components in the target folder. Very useful when a new user is starting on a project to put the relevant files in their WIP folder.
I can't overstate how important understanding the working directory concept and where Creo looks for files is.