copy both from build/src and build/external