copy graph generator

I wasn't able to find how copy graphs with JGraphT and implemented graph generator class to do this job.

I wrote a simple test for it also.