Do you think you accidentally wrote chunks of essay verbatim that have been written before? :/

Yes, as long as you make sure any quotations are identified as such... there is no problem.