Please see my comment to the question, which is not quite clear. I gave you one recipe if you want to implement such behavior in replacement of
]). The benefit of such approach: you won't need to use P/Invoke, which will preserve platform compatibility of your code.
With P/Invoke, you can use native windows API
. Everything is already done for you: http://www.pinvoke.net/default.aspx/kernel32.movefilewithprogress