Have you studied this mechanism? The amine group acts as a nucleophile (because of its lone pair) and attacks the delta positive carbon in the propanoyl chloride. The nitrogen is then positively charged but gains the electron pair from one of the N-H bonds. The chlorine gains the electron pair from the C-Cl bond, and then reacts with the lost proton from the nitrogen to leave N-butylpropanamide and Hydrogen Chloride.
Included a mechanism for you, I hope it helps you unravel what's going on.
Few pointers:
With a mechanism check your partial charges from electronegative atoms as your first observation. Assign your delta positive and delta negatives to see how your molecules will behave.
The amine group in this molecule(NH2) acts as a nucleophile with the lone pair on nitrogen.
The chlorine molecule, and other halogens act as excellent leaving groups and that is why it is able to leave as a negative ion part way through the mechanism.
As for the oxygen having the double bond pair of electrons pushed onto the atom, I explain it as the oxygen being a sink for a single negative charge where needed, but will not remain like that for long as it is high energy, so in this case it has reformed the double bond and 'kicked off' the chlorine atom. You need to be able to spot when this may happen as there are a few mechanisms which need this.
And as a personal preference, in mechanisms I advise people to 'bubble' their charges so they can't look like double bonds or the dreaded five bonded carbon and such.