Copy files without data

I think this does what you want:

Some other related things which may be useful to other people who find this thread, but aren't as good for the exact question: