Providing that Maryland railroad police shall have all powers granted a peace or police officer when conducting an investigation.