Jerry Goldsmith

Any Soundtrack aficionados of Jerry Goldsmith, I have a question. On Poltergeist, one of my favorites since the movie came out, Carol Anne’s theme is the main movie theme. But I just heard excerpts from his score for the Sand Pebbles and I here the exact same theme. Is this correct? Did he copy himself?