Hi Chengfr,
I'm glad the script is helping you, about your question, the difference between Replication and Duplication is the action behind the job, for example, if you are using an OST technology to Replicate your data lets say between DataDomains, the Deduplication appliances will only move the differentials or changes of data, this is what is behind Replication, on the other side when you Duplicate data you are moving all the data not just the changes the most common example of this is when you copy data to tape, so based on your output my guess is you are probably using an OST technology to replicate and there is a second copy remotely that goes to tape, remember Im just guessing here, if is not the case I will need some more info about your environment to be able to tell what is going on.
Regarding the -D 0|1 option is basically if you want to print only the Replication or Duplication outputs, sometimes when we are troubleshooting SLP's we dont want all the data because the report can take a long time if you have a big backlog, is why I splited the script in so many functions.
Please let me know if I'm wrong or if you have any more questions.
Best Regards