I can never remember the exact args for XCOPY and I use this in VS POST-BUILD events more than you would think. Here’s my reminder so I never have to Google for this or read the XCOPY usage again.
<PostBuildEvent>XCOPY "$(ProjectDir)\Foo\Bar.config" "$(ProjectDir)..\..\Bin\$(ConfigurationName)" /Y</PostBuildEvent>