Please share following outputs:
docker info
ls -l
The ls -l command must be done in the folder where you want to use docker cp.
Note: if you use docker cp for anything else than “testing something out” or copying files from the container to the host, you most likely try to do something that either should be done by binding a host folder as volume, or by creating a new image where the file is copied into the image.