<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def move_roles(resource_root, service_name, name, role_names, cluster_name="default"):
 """ Moves roles to the specified role config group. The roles can be moved from any role config group belonging to the same service. The role type of the destination group must match the role type of the roles. @param name: The name of the group the roles will be moved to. @param role_names: The names of the roles to move. @return: List of roles which have been moved successfully. @since: API v3 """

  return call(resource_root.put,
      _get_role_config_group_path(cluster_name, service_name, name) + '/roles',
      ApiRole, True, data=role_names, api_version=3)