added documentation for the copy command
added records/second statistics
outputs should be flushed then closed
added new example