added support to copy files and get documents folder on Mac (windows pending)