cmake: examples: modify copy macro, copy .py's
Modifies cmake macro so that it can handle arbitrary copy events, with file dependency. This means the file is copied over if and when the source changes.
copies example images over this way
add use of this macro to copy over python files in example folder to /build/bin/examples/