Copy file to remote server agent azure devops using yml

hi experts
in my azure-pipelines.yml file, I have data that I want to send to my server where my azure agent is installed and specify the exact path where the data will be stored.
someone has an idea of what task?