Command on Windows

I’d like to copy my TMX file to another directory using commands.
How do I do this ?
I tried “xcopy %mapfile D:” but it does nothing
I’m on Windows.
Thanks !