I want to intercept the standard output stream, then copy the content to another stream, but I also hope to keep the standard output stream like the original. Could I achiev
Take a look at this package: org.apache.commons.io.output. I think that TeeOutputStream is what you're looking for.