MS Visual Studio 2008: Exception handling and more robust copy.