-> Login as root or any user.
syntax:scp source_path destination_path
cmd:
scp postgres@10.16.16.59:/DB/installation_files/postgresql-9.5.8.tar.gz
/opt/

to copy the file from one system to other
-> Then it will prompt for the password of the destination system user then the file will be copied to the location.
after copy of the system
-> To see the copied file use ls -ltr cmd.
cmd to see all the files
-> List of files is as shown below.
list of files

To copy multiple files from one system to another system:
cmd:
scp -r postgres@10.16.16.59:/DB/installation_files/postgresql-9.5.8/* /opt/

to copy the multiple files from one system to another

To copy the files with in the same system:
syntax:cp source_location destination_location
cmd:
cp /app/uploaddownload/sample.war /app/server/jboss-eap-6.2/standalone/deployment/