See the following test:
$ more first.txt
this is first
$ more second.txt
this is the second one
$ mkdir test
$ mv first.txt test
$ cat >first.txt
this is the second first one
$ more test/first.txt
this is first
$ more first.txt
this is the second first one
$ mv first.txt test
$ more test/first.txt
this is the second first one
$ cat >first.txt
this is the third first
$ cp fisrt.txt test
cp: cannot access fisrt.txt
$ cp first.txt test
$ more test/first.txt
this is the third first
$ cd test
$ ls
first.txt。