Duplicate content is sometimes because of an incorrectly set up web server or website. These occurrences are technical and will never result in a penalty by Google. best selling ghostwriters said that they can harm your rankings, though, so it's essential to make it a priority to fix them.
Having duplicate content can completely disturb your SEO performance, but it won't be getting you a penalty from Google if you didn't intentionally copy someone else's website. If you're an honest website owner with some technical website issues, and you're not trying to trick Google, you don't have to worry about getting a penalty from Google