add option for copying instead of rewriting bam on input for bammarkduplicates if input is via stdin