Tasks azure devops pipeline to upload files to my remote server agent azure

Hi
I’m looking for a task yml that allows me to upload the packages of azure devops repos to my remote server at my path wM_HOME \ IntegrationServer \ instances \ default \ replicate \ inbound
should I have to use a task ssh or just a task copy?
think you