linux copy files from one directory to another with same folder structure code example
Example: cp with folder structure
cp --parents src/prog.js images/icon.jpg /tmp/package
cp --parents src/prog.js images/icon.jpg /tmp/package