It happened with me also. In my case, the file which I was trying to copy from remote machine was already there with same file name and it was open at my target machine. Once I closed the file in my target machine, I could successfully copied the file using scp command.