[TIMOB-14386] Fixed bug in copyFileSync() when copying a file to a directory.
Fixed typo.
[TIMOB-14386] Added unit test for copyFileSync().
[TIMOB-14386] Added test for copying a file to /tmp.
Merge pull request #51 from appcelerator/timob-14386

[TIMOB-14386] Fixed bug in copyFileSync() when copying a file to a directory.