Update Bash scripts

This additionally creates new variants of scripts, copy_deps and cppcheck

Verification:
    Launch scripts with Bash (mingw bash will do) and check if scripts
    work properly.

Change-Id: I0e56d54ef38d7052ba514d1f756a257e255c7616