In mIRC the command would be:
  • copy -o in1.log out.log [color:gray]// overwrite output file
    copy -a in2.log out.log // append to output file
    copy -a in3.log out.log[/color]