Re: Plagarism protection for source.
There are two types of protection for code, and they apply differently.
Copyright: You can't copy the code or substantial parts thereof directly unless you have permission.
Patent: If the process established in the code is new and its creator has a patent, you can't reimplement it without permission.
Hence, no, you can't copyright an algorithm, process, or system. You can patent those things if you've invented them, and you can copyright the code used to implement them. If you make a method of doing some task, but it's not original enough to earn you a patent, I'm perfectly allowed to make a program that does exactly what yours does. I should also be allowed to let my program take the same command line flags as yours if I want to.