You can disable SIP using guide from here.How could you set the necessary permissions to be able to replace the files, when trying to copy the new file I cannot do it, and when trying to change the permissions to write in the folder, it shows me that I do not have the necessary permissions