saves a snapshot of current code to a new folder