def METHOD_NAME(self, content, dest, task_vars):
    """
    This function implements the Ansible 'copy' action_module, to benefit from Ansible builtin functionality like 'changed'.
    Reuse task data
    """
    new_task = self._task.copy()
    new_task.args = {
        "dest": dest,
        "mode": self._task.args.get("mode"),
        "content": content,
    }
    copy_action = self._shared_loader_obj.action_loader.get(
        "ansible.legacy.copy",
        task=new_task,
        connection=self._connection,
        play_context=self._play_context,
        loader=self._loader,
        templar=self._templar,
        shared_loader_obj=self._shared_loader_obj,
    )
    return copy_action.run(task_vars=task_vars)