Update README
Use System.arraycopy instead of a loop
Add a script to run the cli app with debug flags