The Apache license states the following:
You must cause any modified files to carry prominent notices stating that You changed the files.
However if i rewrote the original source can i claim it as my own and therefore relicense it?
Law Stack Exchange is a question and answer site for legal professionals, students, and others with experience or interest in law. It only takes a minute to sign up.
Sign up to join this communityIf you are the sole copyright holder of the software – in particular, if the software does not contain parts that were authored by other people – then the existing license has no direct effect for you. As the sole copyright holder you would be able to license it however you want (re-licensing probably isn't the best term here).
But: are you sure that you are the sole copyright holder, and that your modified version is not a derivative work of the original in the sense of copyright law? It's not possible to answer that in a general way, as derivativeness is ultimately for a court to decide. I think you would have to completely rewrite every file of the project from scratch to effectively remove other people's code.
Any edits you make do give you a copyright to your edits (assuming they rise to the level of copyrightability). So you do get a small part of ownership of the software. There are two things to keep in mind though:
Since the Apache license is a permissive open source license, software under this license can generally be used without having to relicense it. The license gives you very broad rights to the software, with only few conditions. The license's attribution requirements are generally manageable, although the patent clauses can be more problematic. Ask yourself whether the effort of going through a complete rewrite would really be worth it for complete copyright ownership of the software.