Help me find this movie by description
There is a guy, who wants to have a best selling book. One day, a new neighbor arrives, this new guy happens to be also a writer, so the first guy goes and shows him a manuscript of his book. The new guy reads it, and he realizes that it's going to be a best seller so he goes to his neighbor's house to talk to him. But when he goes there are police cars surrounding the house, and they tell him that his neighbor is dead. He decides to publish the book as if he was the author, and this brings him fame and fortune until one day some people (I don't know if they are police officers) arrive to his house to ask him about the book since it contains information and precise details about many murders that only the killers would know. That's all the information I got, please help me find it.