The sites violated United States copyright law, the Department of Justice said.