This request comes from a friend of mine. She heard about a movie where a person could flip a switch on a box, wait a few hours, then get inside the box to travel back to the moment when they switched the box on. This means that when a man turns the box on, he would immediately see a slightly older version of himself leave the box.
A time traveler could turn the box on, check the stock market and lottery numbers, and then go back in time a few hours to buy stocks or buy a lottery ticket.
She believes this movie was made within the last few years. She has not seen the movie, but only heard somebody describe it to her.
Can anybody help my friend by identifying the story?