The doping effect of Cu on the self-assembly film of melamine on an Au(111) surface has been investigated with scanning tunneling microscopy (STM). The evaporated Cu adatoms occupy the positions underneath the amino groups and change the hydrogen bonding pat- tern between the melamine molecules. Accordingly, the self-assembly structure has changed stepwise from a well-defined honeycomb into a track-like and then a triangular structure depending on the amount of Cu adatoms. The interaction between Cu adatom and melamine is moderate thus the Cu adatoms can be released upon mild heating to around 100 ℃. These findings are different from previous observations of either the coordination assembly or the physically trapped metal adatoms.