Streamline code: #1

Streamlined the copy_pic (formerly copyFiles) function