code: def copy_project(self, from_project, to_project, to_client=None, copy_machine_group=False):
          
          if to_client is None:
              to_client = self
          return copy_project(self, to_client, from_project, to_project, copy_machine_group)
docs: copy project, logstore, machine group and logtail config to target project,
          expecting the target project doesn't contain same named logstores as source project
  
          :type from_project: string
          :param from_project: project name
  
          :type to_project: string
          :param to_project: project name
  
          :type to_client: LogClient
          :param to_client: logclient instance
  
          :type copy_machine_group: bool
          :param copy_machine_group: if copy machine group resources, False by default.
  
          :return: None