'react-native copy file from source directory to document directory using react-native-fs

I have a zip file in my source:

|-- myzip.zip
|-- App.js
|-- package.json
...

I want to copy the file from my source to RNFS.DocumentDir. How can I do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source