It doesn't even have to be there, you could state what the license is on a website or in an e-mail. Sometimes you can find it in the header of source files (as seen here as well). Having a "LICENSE" or "COPYING" file in the root of the repository is just a common pattern made even more common by all the tools that can consume it automatically (including GitHub's UI).