Inotify compatible Shell script to monitor shell a certain directory
===

This is first question in Stack overflow.  need an inotify compatible script writing that will monitor a certain directory, and if any new files/folders are created in in, copy those files to another folder. I need the script to monitor constantly for changes rather than run periodically.
Thanx in advance.