<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_copy_mode(self, use_copy: bool):
 """ Set all protocols in copy mode. They will return a copy of their protocol. This is used for writable mode in CFC. :param use_copy: :return: """

        for group in self.rootItem.children:
            for proto in group.children:
                proto.copy_data = use_copy