Pre/Post build step in UBT

How can we determine the target directory in the build step? e.g. copy a file from the project folder to the package folder.