Use the CopyAsync
method on the StorageFile
object you get back (file). You can specify a directory and file name. If you need to create your own directory structure, you will need to enable access to the appropriate library in the Package Manifest then create it in code. You will then use the StorageFolder
class and its CreateFolderAsync
method to create folders.
http://aka.ms/30Days has some great resources for learning about scenarios like this. Might be worth checking out.