if you are copying all the record, and inserting them as new then
Insert into UserDetails(TimeStamp)
select TimeStamp from History
but if you are copying from history table and inserting them to existing column then
update userDetails set TimeStamp= (select TimeStamp from history where history.userID= UserDetails.UserID)
this will not insert records as new, but will only update the existing records.