Did you know that you can't use copyright to protect an algorithm?
(It's similar to the early days of heat engines, where a guy called James Pickard managed to patent the crank, preventing other engine manufacturers from using cranks and forcing them to use a sun-and-planet gear arrangement instead: https://en.wikipedia.org/wiki/Sun_and_planet_gear )