First it select a mode for the current line. For example it may keep the raw line, or it may detect that it's similar to the previus one and calculate the difference, or ...Anyway; I don't expect this to be useful
Second, it use the standar compression method "deflate", that is similar to the used by zip but has no patents.
So I'm not surprised that they get similar results in the final size.