The First Copy Problem: Why Software Has Always Been Economically Fragile, Why AI Made It Visible, and What India's Copy Economy Reveals About Survival
Why the Next AI Moat Will Not Be the Model, the Prompt, or the Workflow — but the System Around Them
By Trang Phan
Executive summary: The question is not whether AI can copy software. The question is why software was ever economically viable in the first place, given that it has always been a non-rival good with enormous first-copy costs and near-zero marginal costs. This is not a new problem. It is the defining problem of every information industry, and it has a name in economics: non-rivalry. A drug molecule, a book, a song, a software program—each costs a fortune to produce the first time and almost nothing to reproduce the second time. The pharmaceutical industry solved this problem not by making drugs uncopyable but by constructing an institutional settlement: the Hatch-Waxman Act of 1984, which traded a defined period of patent and data exclusivity for a standardized, cheap pathway to generic entry afterward. Generics now account for roughly 90 percent of US prescriptions but only about 20 percent of US drug spending, and the innovator industry still generates enormous returns. The settlement works because the FDA is a hard regulatory gate. Software has no such gate. It has copyright that protects expression but not function, patents narrowed by Alice, trade secret law that only protects what remains secret, and Oracle v. Google (2021), which held that copying 11,500 lines of Java API declarations was fair use. Software survived for four decades on business moats—switching costs, integration depth, data gravity, network effects, trust—that took years to build and were protected by the high cost of the second copy. AI is collapsing that cost. But the collapse is not uniform, and the countries where copying was already cheap are the ones that reveal the underlying economics most clearly. India is the natural laboratory: a ₹34 TikTok clone that reached 5 million downloads in a month, white-label app clones costing ₹80,000 to ₹10 lakh against ₹10–25 lakh for a custom build, generic Lipitor falling from ₹300–400 per tablet to ₹30–40 after patent expiry, Jan Aushadhi generics priced 50–90 percent below branded equivalents, and Zoho forcing Microsoft to cut an Office renewal by 90 percent simply by existing as an alternative. These are not anomalies. They are the baseline condition of every copyable product, and software is only now being forced to confront what India's copy economy has always known: the code was never the product. The product was the system around it—and that system is the only thing that has ever survived the copier.
Key takeaways
Software is a non-rival good with a first-copy problem. The first copy costs millions. The second copy costs approximately zero. In a competitive market, price converges to marginal cost, which is zero, which means the fixed cost cannot be recovered. This is the fundamental economic instability of every information industry.
Arrow’s information paradox explains why. Kenneth Arrow’s 1962 paper established that information cannot be sold on an open market in the absence of legal protection, because the buyer must know the information before buying it, and once they know it, they have it. Software is information. The paradox applies directly.
Pharma solved the problem with an institutional settlement, not with uncopyable drugs. Hatch-Waxman (1984) created a defined period of patent and data exclusivity in exchange for a standardized ANDA pathway to generic entry. Generics now account for ~90 percent of US prescriptions but ~20 percent of spending. The settlement works because the FDA is a hard regulatory gate. India’s Jan Aushadhi scheme is the same logic operating without the gate: 18,000+ outlets selling 2,100+ medicines at 50–90 percent below branded prices, with cumulative citizen savings estimated at ₹38,000 crore.
India is the natural laboratory for the copy problem. Mitron, a TikTok clone, reached 5 million downloads in a month and was sold as source code for $34 (₹2,500) on CodeCanyon, with 277 buyers of the same code. White-label vendors in Chandigarh, Indore, and Ahmedabad sell fully functional clones of Zomato, Swiggy, and Urban Company for ₹80,000 to ₹10 lakh, against ₹10–25 lakh for a custom MVP in Bangalore or Gurgaon. The market size for white-label app development in India was pegged at ₹500–700 crore in FY24.
The generic drug price collapse is the clearest precedent. Lipitor (atorvastatin) generated over $100 billion in lifetime revenue before its patent expired in 2011. Within months, generic competition entered and prices dropped by nearly 90 percent—from ₹300–400 per tablet to ₹30–40 per tablet. India’s domestic pharmaceutical market is roughly 97 percent generic by consumption, yet branded generics still command about 87 percent of market value, because brand trust and doctor relationships are the moat that survives the molecule’s expiry.
Zoho is the software analogue of the generic entrant. Sridhar Vembu reported that an Indian enterprise secured a 90 percent reduction in Microsoft Office licensing costs simply by mentioning that it was evaluating Zoho’s productivity suite. Zoho did not need to beat Microsoft on features. It needed to exist as a credible alternative, which forced the incumbent to price against the substitute. The moat was not the code. It was the credible threat of switching.
Software has no equivalent gate and no equivalent settlement. Copyright protects expression, not function (Computer Associates v. Altai, 1992). Patents were narrowed by Gottschalk v. Benson (1972) and Alice v. CLS Bank (2014). Trade secret law requires secrecy, and the PLeak research (ACM CCS 2024) showed that prompts and behaviors can be extracted from production applications. In Oracle v. Google (2021), the Supreme Court held that copying 11,500 lines of Java API declarations was fair use. The Indian legal position is even less protective: decompilation for interoperability is not clearly authorized, and the Copyright Act was amended in 1984 to include computer programs as literary works without creating the interoperability exceptions that exist in the US and EU.
The legal risk is real but episodic. The Delhi High Court restrained Canva from offering its “Present and Record” feature in India after RxPrism, an Indian startup, alleged patent infringement, ordering a ₹50 lakh security deposit and ₹5 lakh in costs. Tata Consultancy Services was ordered to pay $168 million to DXC Technology for misappropriation of trade secrets related to life-insurance software, a penalty upheld through the US Supreme Court’s refusal to hear the appeal. These cases show that the legal system can punish copying when the copied asset is a patent or a trade secret. They do not show that the system can prevent functional replication, which is the actual economic threat.
AI collapses the cost of the second copy, but not uniformly. Stanford’s AI Index found a 280-fold decline in inference cost in eighteen months. PLeak showed prompts can be extracted. AI-assisted decompilation achieves at most ~21 percent accurate reconstruction of complex code—partial, but enough to shorten development cycles dramatically. The moats now have less time to form. But the moats that were never in the code—integration depth, data gravity, trust, regulatory position, correction streams—remain out of reach.
The governing principle: the question is not “how does software stay relevant when it can be copied?” The question is “what is software selling that is not the copy?” Every information industry has had to answer this. Pharma answered with a legal settlement. Music answered with access. Publishing answered with curation. India’s copy economy answers it every day by selling clones at a fraction of the original price and discovering that the original survives only when it sells something the clone cannot reproduce. Software has answered with moats. AI is testing whether the moats are strong enough, and the evidence suggests many are not.
Part One: The Economic Structure That Software Never Escaped
Non-rivalry: the property that defines the problem
In economics, a good is rival if one person’s consumption diminishes another person’s ability to consume it. A hamburger is rival. A good is non-rival if one person’s consumption does not diminish another’s. A mathematical theorem is non-rival. Software is non-rival. The first copy costs whatever it costs to develop. The second copy costs the price of the storage medium, which is approximately zero.
Paul Samuelson formalized the economics of non-rival goods in his 1954 paper “The Pure Theory of Public Expenditure.” The key insight is that a non-rival good, if it is also non-excludable, is a public good, and public goods are systematically underprovided by markets because of the free-rider problem. Software is non-rival but it is excludable—you can prevent someone from using your code through legal or technical means. That excludability is what makes a software market possible. Without it, software would be a pure public good, and it would have to be provided by the government or by volunteers.
The entire history of the software industry is the history of constructing and defending excludability. Every legal mechanism—copyright, patent, trade secret—is an attempt to make the non-rival good excludable. Every business mechanism—switching costs, integration depth, network effects—is an attempt to make the excludability durable.
Arrow’s paradox: why information cannot be sold at marginal cost
Kenneth Arrow’s 1962 paper “Economic Welfare and the Allocation of Resources for Invention” stated the problem with unusual precision. Information is a good that must be known before it can be sold. A buyer who does not know the information cannot value it. A buyer who knows the information has already received it and has no reason to pay. This is the information paradox.
The consequence is that information cannot be allocated efficiently through a competitive market. In a competitive market, price equals marginal cost. The marginal cost of information is zero. So the competitive price of information is zero. But the fixed cost of producing the first copy is enormous. So the producer cannot recover the fixed cost.
Arrow’s conclusion was that the production of information requires either legal protection (patents, copyright) or public provision (government funding, open science). The market, left to itself, will underprovide. Every institutional mechanism for producing information is a response to Arrow’s paradox. Software is information. Arrow’s paradox applies.
Part Two: India as the Natural Laboratory
India is the clearest case study of what happens when the cost of the second copy is low and the legal gate is weak. The examples are not marginal. They are the mainstream of a large and growing copy economy.
The $34 TikTok clone
In May 2020, an app called Mitron reached the top of India’s free download charts and accumulated over 5 million downloads within a month. It was positioned as India’s answer to TikTok.
The reality was different. The source code for Mitron was available on CodeCanyon for $34, or roughly ₹2,500. At least 277 people had already purchased the same code. Mitron was a rebranded version of an app called TicTic, developed by a team in Lahore called QBoxus. The QBoxus team’s business model was explicit: “Our main business model is to create clones of famous apps and sell them at a cheaper price. Basically we help small scale startups who don’t have a big budget for developing an app.”
A security researcher confirmed the finding by decompiling the app: “De-compiling Mitron clearly reveals leftover strings from the developer’s attempt at cleaning references to the original ‘TicTic’ application. Apart from that, the API for both applications is completely identical.”
The lesson is not that Mitron was a fraud. The lesson is that the cost of producing a functional TikTok clone in 2020 was $34 and a rebrand. The code was a commodity. The distribution—getting to 5 million downloads—was the only scarce thing, and it was temporary.
The white-label clone economy
The Mitron case is one visible instance of a much larger market. White-label vendors based in Chandigarh, Indore, and Ahmedabad sell fully functional clones of proven startups to entrepreneurs in Tier 2 and Tier 3 cities.
The pricing is the story. Hiring a developer or agency in Bangalore or Gurgaon to build a decent MVP costs ₹10–25 lakh. A white-label clone costs ₹80,000 to ₹2 lakh at entry level, ₹3–6 lakh for a mid-tier package with backend panels, CMS, push notifications, analytics, and payment integrations, and ₹8–10 lakh for an advanced full-stack solution with admin dashboards, multilingual support, and logistics APIs.
The market size for white-label app development in India was pegged at ₹500–700 crore in FY24. The vendors are not building rough hacks. “Some white-label builds are indistinguishable from their original inspirations, offering near-identical UX and features.”
The strategic implication is direct: the code for a food-delivery app, a home-services marketplace, or a fintech onboarding flow is a commodity input with a known market price. The scarce resource is not the code. It is the local operations, the supply relationships, the brand trust, and the distribution that the entrepreneur brings.
The generic drug precedent
The pharmaceutical industry faced the same first-copy problem decades before software, and the Indian market shows both the settlement and its limits.
Lipitor (atorvastatin) was introduced by Pfizer in 1997 and became the best-selling drug in pharmaceutical history, generating over $100 billion in global revenue. When the patent expired in 2011, generic manufacturers entered within months. Prices dropped by nearly 90 percent—from ₹300–400 per tablet to ₹30–40 per tablet. The molecule stayed the same. The clinical effect stayed the same. What changed was the economic role of the drug.
The Indian domestic market is now roughly 97 percent generic by consumption, yet branded generics still command about 87 percent of market value. The brand survives the molecule’s expiry because the moat is not the chemistry. It is the doctor relationship, the patient trust, and the distribution network.
The Jan Aushadhi scheme is the institutional version of the same logic. With 18,000+ outlets selling 2,100+ medicines at 50–90 percent below branded prices, it has generated cumulative citizen savings estimated at ₹38,000 crore. A month’s supply of atorvastatin 10mg costs ₹20–30 at Jan Aushadhi against ₹150–200 for the branded equivalent—a savings of roughly 85 percent. Metformin 500mg costs ₹15–25 against ₹120–180. Amoxicillin 500mg costs ₹15–25 against ₹80–120. The savings are real. The branded product survives on trust and prescribing habits, not on the molecule.
Zoho and the price discipline of a credible alternative
The software analogue is Zoho. Sridhar Vembu reported that an Indian enterprise facing a steep Microsoft Office renewal increase told Microsoft it was evaluating Zoho’s productivity suite. Microsoft dropped the price by 90 percent.
The point is not that Zoho is a feature-for-feature replacement for Microsoft Office. The point is that the existence of a credible alternative changes the pricing power of the incumbent. The buyer does not need to switch. The buyer only needs to be able to switch. The credible threat of substitution is the discipline.
Zoho built that credibility over years by offering a suite that was good enough for a large segment of the market at a lower price. It did not need to win on features. It needed to win on price-performance for a segment that Microsoft could not afford to lose. That is the same logic that generics use against branded drugs, and it is the same logic that white-label clones use against original apps.
Part Three: The Legal Patchwork That Does Not Add Up to a Gate
Software has no Hatch-Waxman equivalent. It has a collection of legal protections that cover parts of the problem but do not constitute a coherent gate.
Copyright protects expression, not function
Copyright protects the specific expression of an idea, not the idea itself. In software, this means that copyright protects the source code as written, but not the functionality that the code implements. A competitor can write a different codebase that does the same thing, and copyright will not stop them. This is the principle established in Computer Associates v. Altai (1992), which created the abstraction-filtration-comparison test for determining whether software is substantially similar.
Patent protection has been narrowed
In Gottschalk v. Benson (1972), the Supreme Court held that a patent on a mathematical algorithm was not eligible for protection because it was an abstract idea. In Alice Corp. v. CLS Bank (2014), the Court created a two-step test that led to a substantial number of software patents being invalidated. The Indian position is even more restrictive: Section 3(k) of the Patents Act, 1970, bars computer programs per se from patentability.
Trade secret protection requires secrecy
The Defend Trade Secrets Act of 2016 created a federal cause of action for trade secret misappropriation. But trade secret protection depends on the secret remaining secret. The PLeak research demonstrated that prompts and behaviors can be extracted from production LLM applications through closed-box attacks. If the secret can be extracted, the trade secret protection is weak.
The Indian experience confirms the limits. The Delhi High Court restrained Canva from offering its “Present and Record” feature in India after RxPrism alleged patent infringement, ordering a ₹50 lakh security deposit and ₹5 lakh in costs. But the case is about a patented feature, not the entire product. It does not prevent a competitor from building a functionally equivalent product that avoids the specific patent claims.
Oracle v. Google expanded the space for lawful copying
In Oracle v. Google (2021), the Supreme Court held that Google’s copying of 11,500 lines of Java API declarations was fair use. The decision was narrow, but it signaled that the legal system is reluctant to treat functional elements of software as protected property. The Indian Copyright Act was amended in 1984 to include computer programs as literary works, but it did not create the interoperability exceptions that exist in the US and EU. The legal position on decompilation in India remains unsettled, and the practical effect is that copying for functional replication is less risky than the formal law might suggest.
Part Four: What AI Actually Changes
If copying was always possible, what does AI change?
It changes two things, and neither changes the fundamental answer.
It lowers the cost of the second copy
A human competitor with a clean room and a team of engineers could clone an IBM PC in eighteen months. An AI-assisted competitor can approximate a workflow in days. The cost of copying has fallen by an order of magnitude or more.
The empirical evidence on AI reverse engineering is more nuanced than the narrative suggests. A 2025 study on training data exposure in code language models found that a black-box reconstruction attack could not fully reconstruct training code instances “except for a minority of cases,” with partial leakage measured at 3–17 percent in controlled scenarios and 3–9 percent in realistic ones. An AI-assisted decompilation project achieved “at most 21 percent” accurate decompilation of complex code. The reconstruction is partial, not complete.
But partial reconstruction is enough to shorten the development cycle. A competitor who can recover 20 percent of the architecture and 80 percent of the behavior has a substantial head start. The cost of copying has fallen, and that matters.
It lowers the threshold for who can copy
Copying used to require engineering skill. A competitor needed programmers, infrastructure, and time. AI reduces the skill required to build a functional approximation. A non-technical founder can now build a working prototype. A small team can approximate a product that once required a larger team.
The result is that the number of potential competitors increases. The market gains more producers. The competition intensifies.
What does not change
Neither of these changes the fundamental answer. The moats that survived human copying will survive AI-assisted copying, for the same reason: they are not in the code.
The moat that survives is the one that was never in the artifact. It is the integration depth, the data gravity, the trust, the regulatory position, the correction stream, and the institutional relationships. These are not copyable by AI, because they are not in the software. They are in the organization, the customer relationships, and the accumulated history.
Harvey’s $190 million in annual recurring revenue is built on proprietary legal datasets and correction streams from 100,000 lawyers at more than 1,000 firms—not on code. Sierra’s $150 million in annual recurring revenue is built on governance across systems of record for more than 40 percent of the Fortune 50—not on an orchestration pattern. Both companies use foundation models that are available to anyone. Neither company’s moat is in the model, the prompt, or the code.
Part Five: The Hatch-Waxman Question for Software
If the pharmaceutical industry needed an institutional settlement to manage copying, does software need one too?
The question is worth taking seriously, because the absence of a settlement is the real gap that AI is exposing.
A Hatch-Waxman equivalent for software would need to define three things: a period of exclusivity, a standardized pathway to lawful copying, and a mechanism for compensating the innovator during the copying phase. Each is difficult.
The period of exclusivity is hard because software evolves quickly. A fixed period would be either too short to be meaningful or too long to be useful. The pharmaceutical model works because the development cycle and the regulatory cycle are both long, and the exclusivity period is calibrated to them. Software has no comparable cycle.
The standardized pathway to lawful copying is hard because there is no equivalent of bioequivalence for software. Two codebases can behave identically while being structurally different, and there is no regulatory mechanism for certifying functional equivalence.
The compensation mechanism is hard because software has no single regulatory gate through which every product must pass. The FDA creates a bottleneck that the Hatch-Waxman settlement can price. Software has no such bottleneck.
Software has survived without a settlement because the business moats were strong enough. The cost of copying was high enough that the moats had time to form. AI is testing whether that remains true. If the cost of copying falls far enough, the time required to replicate the moats may fall below the time required to build them. If that happens, the business moats will weaken, and the absence of an institutional framework will become a problem.
Whether that will happen is an open question. The empirical evidence on AI reverse engineering suggests that reconstruction is partial, not complete, and that the hardest parts of enterprise software—the integrations, the data, the trust—remain out of reach. If that continues to be true, the business moats will hold, and software will not need a Hatch-Waxman equivalent. But the question is worth asking, because it is the question that every copyable industry has had to answer, and software has been the exception.
Conclusion: The Copy Was Never the Product
The question “how does software stay relevant when AI can copy it?” is the same question the pharmaceutical industry answered in 1984. The answer was never “make the product uncopyable.” It was “define the exclusivity period, define the lawful copying pathway, and build the business around the parts of the value chain that survive expiry.”
Software has not done this. It has survived because the business moats were strong enough that the absence of an institutional framework did not matter. The cost of copying was high, and the moats had time to form.
AI reduces the cost of copying. It does not eliminate the moats. The companies that are surviving the transition are the ones whose moats were never in the code: Harvey’s correction stream, Sierra’s governance layer, the integration depth of the systems of record, the data gravity of the platforms, the trust that accumulated over years of reliable operation.
India’s copy economy makes the lesson visible in its starkest form. A TikTok clone sold for $34 and reached 5 million downloads. A white-label Zomato clone costs less than a second-hand motorcycle and is indistinguishable from the original. Generic Lipitor costs one-tenth of the branded price for the same molecule. Zoho forced Microsoft to cut a renewal by 90 percent simply by existing. In every case, the copy is cheap. The original survives only when it sells something the copy cannot reproduce: distribution, trust, integration, regulatory position, or a correction stream that took years to accumulate.
The lesson from the pharmaceutical industry is not that software needs a Hatch-Waxman Act. It is that every copyable industry eventually has to answer the question of what it is actually selling. The pharmaceutical industry answered it by accepting that the molecule would be copied and building a business around the rhythm of exclusivity. The music industry answered it by accepting that the file would be copied and building a business around access. The publishing industry answered it by accepting that the text would be copied and building a business around curation.
Software has been answering the question implicitly for decades, by building moats outside the code. AI is making the answer explicit, because it is making the code cheap enough that the moats are visible as the only thing that was ever defending the business.
The question is not whether AI can copy your software. The question is what you have that cannot be copied. That question has always been the question. AI did not create it. It just made it impossible to avoid.
The companies that answer it will survive. The companies that cannot will discover that they were never selling software. They were selling a copy that someone else can now make faster than they can improve it.
The copy was never the product. It was the price of entry. The product was always the system around it—and that system is the only thing that has ever survived the copier.
