qsave_file/3

qsave_file(+ File, +State)*

Saves an image of all the information compiled by the system from file F to State. This includes modules and predicates eventually including multi-predicates.