copy master file to save in repo