Not getting into the 'copied or not' as I haven't seen either of these yet. However, I'm surprised that no-one has mentioned that Shayamalan has previous in this area.
I'm in the minority of loving The Village - though I acknowledge how much of that is owed to James Newton Howard's great score - but it shamelessly ripped off a book "for young readers", Running Out of Time by the (relatively?) unknown Margaret Peterson Haddix.
I was such a fanboy of the movie that I tracked down a paperback copy years ago (ISBN 0-689-80084-3, if anyone is interested) to prove to myself that it wasn't so. Yes, there are differences/changes/additions etc., but the core plot - and crucially for Shyamalan, the twist - are virtually identical.
Here's the first paragraph from the back-cover blurb:
Sound familiar? All it needed was a "based on","inspired by" or equivalent. So we're left thinking it's all about artificially creating and preserving a personal mystique, a cult of (undeserved) genius. Doesn't mean he can't create great content though, or that he is 'guilty' in the current case. Just worth bearing in mind.