Added a feature to copy record