Moving and copying Directories

Hi,

I know it is possible to read and write to files but is it possible to move an entire directory?
The App I am developing uses In App purchase to download folders of HTML content and store them in the DocumentsDirectory. It then needs to loop through all of the sub-directories in DocumentsDirectory and build a menu of this content.

So during development I start with a directory in my project folder and use this line to create a path:

local path = system.pathForFile(“myDirectory”, system.ResourcesDirectory)

This returns nil instead of a String. Unless I am doing something wrong it seems that Corona doesn’t have the ability to move or copy a Directory?

I would really appreciate it if someone could point me in the right direction or tell me if this is not possible so i can have a rethink before I lose a lot of development time!! [import]uid: 61520 topic_id: 12435 reply_id: 312435[/import]