Moved copyFile method into Utils
Fixed typo
Properly scale images comming from gallery