CopyFile function is used to copy one file to another folder 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.
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.
After completing this step, test step will look as below: