Fixed documentation of copyMessages