add sample for safe_copy function and printout the store value