Plots are broadly not copyrightable, “different plot” is less important than “different characters”.

I'm pretty sure the plot is copyrightable, otherwise you could just translate Harry Potter to a different language and change the names of the characters.