And as they mentioned above, the book (short story actually) from Ted Chiang is possibly even more profound
I read the short story several years after seeing the movie and I was completely blown away by how good it was even though I already knew how it would play out. Far and away the best short story I've ever read and it isn't even close.