How to copy field value between two records

To copy field values of two record buffers of the same type use buf2buf method of the Global class.