RESTORE DATABASE MyTempCopy FROM DISK='c:your.bak'
WITH
MOVE 'LogicalNameForTheMDF' TO 'c:MyTempCopy.mdf',
MOVE 'LogicalNameForTheLDF' TO 'c:MyTempCopy_log.ldf'
RESTORE FILELISTONLY
FROM DISK = 'D:BackUpYourBaackUpFile.bak'
RESTORE DATABASE my_db
FROM DISK = 'C:my_db_backup.bak';