CopyFile function is used to copy a file from one location to another location i.e.. from source to destination.
Select SET command from the action dropdown and provide a variable name in Element key where output will be stored, edit parameter section and click on Form, select functions from the dropdown and select COPYFILE function. Provide source and destination path and make overwrite setting as true if you want to override any existing file with the same name else mark it as false and click on save icon.
If file is copied successfully in the destination folder then it will return true in the variable defined in the Element key else it will return false. You can use this variable(output) defined in Element Key in further steps for verification.
After completing this step, test step will look as below: