# copy code/ to model dir copy_tree("code/", str(model_tar_dir.joinpath("code")))