Digital Millennium Copyright Act
In the US, the Digital Millennium Copyright Act specifically exempts computer-maintenance activities, so copies of copyright files may be made in the course of maintenance provided that they are destroyed afterwards.