Robocopy - Copy directory into another directory
If you want to create an exact duplicate, use the following version (which is equivalent to adding /E and /PURGE:
robocopy c:\source d:\destination /MIR
If all you want to do is copy the directories and subdirectories including empty ones, use
robocopy c:\source d:\destination /E
It is the backslash on the E option that was getting you.
To learn more about Robocopy here is a handy search:
http://www.google.com?q=robocopy+syntax