But its still PLAGIARISM if you claim that its your original writing.
People often confuse copyright infringement with plagiarism. The concepts overlap in some instances, but they're distinct torts. You can have one without the other.
If her publisher wants to hire me, I will rewrite all the plagiarized parts as a ghost writer.