it will not overwrite your mod, it will not overwrite the mod folder only overwrite each file that is in the modpack.zip, meaning that if you have a mod that is not in the pack, this will not delete it.
same with the config, if the config is not in the .zip, it will not overwrite it, it...