created two diff functions

createDirectory and copyToGalleryFolder