Added wrapper for CopyTo command. Moved copyFile away from test class.