def METHOD_NAME(request, temp_dir, working_dir, config_file):
    # Move into temp dir as cwd
    os.chdir(temp_dir.name)  # @todo move this step to a more universal place
    # Copy the config file over
    config_source = os.path.join(working_dir, "data", "configs", config_file)
    config_dest = os.path.join(temp_dir.name, config_file)
    shutil.copy2(config_source, config_dest)
    # @todo make this only copy some journals over
    # Copy all of the journals over
    journal_source = os.path.join(working_dir, "data", "journals")
    journal_dest = os.path.join(temp_dir.name, "features", "journals")
    shutil.copytree(journal_source, journal_dest)
    # @todo maybe only copy needed templates over?
    # Copy all of the templates over
    template_source = os.path.join(working_dir, "data", "templates")
    template_dest = os.path.join(temp_dir.name, "features", "templates")
    shutil.copytree(template_source, template_dest)
    # @todo get rid of this by using default config values
    # merge in version number
    if (
        config_file.endswith("yaml")
        and os.path.exists(config_dest)
        and os.path.getsize(config_dest) > 0
    ):
        # Add jrnl version to file for 2.x journals
        with open(config_dest, "a") as cf:
            cf.write("version: {}".format(__version__))
    return config_dest