Copyright protection provides the owner exclusive rights to use, copy and adapt the fictional characters, as well as other related rights, subject only to copyright defenses such as fair use or expiration.
FORBES: Protecting Fictional Characters: Could You Legally Write A New Harry Potter Novel?