In other words, you can write a story about an orphan boy attending a school for wizards and fighting evil, but if he looks like Harry Potter, sounds like Harry Potter and displays the likeness of Harry Potter, it could be considered infringement.Note that your work may still be considered plagiarism, which is often seen as an academic or moral violation. Just because your work might be permitted legally does not mean that you are free of other consequences.