Changed copymerge to check the input and output file sizes.