Sorry Sir , for late response.
For example,
I got the multiple sequence alignment files, let may be of some sequences into a .aln file format.
In that , the identifiers name were present and also the aligned sequences. I want to append them.
and print the saved output in another file.

I am showing an example in a image .. !!! ..