They did copy and paste 37 lines of code, the rangecheck function. The court ruled it diminimus and therefore non-infringing. So, Oracle's lawyers took another tact.
They claimed that this copying gave Google a big advantage and allowed them to get to market sooner. Alsup responded to this argument with ""I couldn't have told you the first thing about Java before this problem. I have done, and still do, a significant amount of programming in other languages. I've written blocks of code like rangeCheck a hundred times before. I could do it, you could do it. The idea that someone would copy that when they could do it themselves just as fast, it was an accident. There's no way you could say that was speeding them along to the marketplace. You're one of the best lawyers in America, how could you even make that kind of argument?"